type net.scope
10 uses
net (current package)
addrselect.go#L62: Scope scope
addrselect.go#L297: type scope uint8
addrselect.go#L300: scopeInterfaceLocal scope = 0x1
addrselect.go#L301: scopeLinkLocal scope = 0x2
addrselect.go#L302: scopeAdminLocal scope = 0x4
addrselect.go#L303: scopeSiteLocal scope = 0x5
addrselect.go#L304: scopeOrgLocal scope = 0x8
addrselect.go#L305: scopeGlobal scope = 0xe
addrselect.go#L308: func classifyScope(ip netip.Addr) scope {
addrselect.go#L315: return scope(ipv6AsBytes[1] & 0xf)
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |